package com.jy.rhin.model.body.gaoxueysf;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Data;

@Data
public class ZhuanZhenJY {
    //转诊标志
    @XPath(path = "/entry/observation/code[@code='DE06.00.174.00']/../value/@value"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_174_00))
    String zhuanZhenBZ;
    //转诊原因
    @XPath(path = "/entry/observation/entryRelationship/act/text"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_177_00, nullable = true))
    String zhuanZhenYY;
    //转入机构科室名称
    @XPath(path = "/entry/observation/entryRelationship/act/performer/assignedEntity/representedOrganization/name/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_10_026_00, nullable = true))
    String zhuanRuKSMC;
    //转入医疗机构名称
    @XPath(path = "/entry/observation/entryRelationship/act/performer/assignedEntity/representedOrganization/asOrganizationPartOf/wholeOrganization/name/text()"
            , xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE08_10_013_00, nullable = true))
    String zhuanRuJGMC;
}
